package com.google.code.coma.space;

import org.mozartspaces.capi3.IsolationLevel;
import org.mozartspaces.capi3.OperationType;
import org.mozartspaces.capi3.javanative.isolation.NativeIsolationManager;
import org.mozartspaces.capi3.javanative.isolation.NativeSubTransaction;

/**
 * Defines some methods for retrieving context information within a subtransaction call
 *
 * @author Dominik Strasser, dominikstr@gmail.com
 */
public interface CallContext {
	public IsolationLevel getIsolationLevel();

	public NativeSubTransaction getTransaction();

	public OperationType getOperation();

	public NativeIsolationManager getIsolationManager();
}
